
from django.urls import path
from rest_framework.routers import SimpleRouter
from app01.views import UserView,LoginRregisterView,FriendsView,ChatsView,GroupView

router=SimpleRouter()
router.register('',LoginRregisterView,'LoginRregister')
router.register('',UserView,'user')
router.register('',FriendsView,'friends')
router.register('',ChatsView,'chat')
router.register('',GroupView,'group')

# router.register('register',RegisterView,'register')

urlpatterns = [
]
urlpatterns+=router.urls